<template>
  <div>
    <!--slor内置组件,子组件  <solt name=''></solt>:名字需要对应上-->
    <div class="box">
      <div class="left">
        <h4>left</h4>
        <solt></solt>
        <slot name="left"></slot>
        <span class="iconfont icon-robot-head-b"></span>
        <span class="iconfont icon-jingdong"></span>
      </div>
      <div class="center">
        <h4>center</h4>
        <solt></solt>
        <slot name="center"></slot>
        <span class="iconfont icon-zhifubaozhifu">22</span>
      </div>
      <div class="right">
        <h4>right</h4>
        <solt></solt>
        <slot name="right"></slot>
      </div>
    </div>
  </div>
</template>
<script>
export default {

  name: '',
  data () {
    return {

    }
  },
  created () {
  },
  computed: {
  },
  methods: {
  }
}
</script>
<style lang='less'  scoped>
.box {
  width: 600px;
  height: 600px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  .left {
    flex: 1;
  }
  .center {
    flex: 1;
    background-color: skyblue;
  }
  .right {
    flex: 1;
    background-color: yellow;
  }
}
</style>
